package com.lbd.gulimall.search.service;

import com.lbd.common.to.SkuEsModel;
import com.lbd.gulimall.search.vo.SearchParam;
import com.lbd.gulimall.search.vo.SearchResult;

import java.io.IOException;
import java.util.List;

/**
 * @Author: linbd
 * @Description:
 * @Date: 2023/2/11 11:54
 */
public interface ElasticSearchService {
    boolean bulkIndexSkuModel(List<SkuEsModel> skuEsModels) throws IOException;

    SearchResult search(SearchParam param);
}
